<template>
  <view class="uni-transition-placeholder"></view>
</template>

<script>
export default {
  name: 'uniTransition',
  props: {
    show: {
      type: Boolean,
      default: false
    },
    modeClass: {
      type: [Array, String],
      default() {
        return 'fade'
      }
    },
    duration: {
      type: Number,
      default: 300
    },
    styles: {
      type: Object,
      default() {
        return {}
      }
    },
    customClass: {
      type: String,
      default: ''
    }
  },
  data() {
    return {}
  }
}
</script>

<style>
.uni-transition-placeholder {
  /* 可以添加一些基本样式 */
  display: none;
}
</style> 